/**
 * @type {Number}
 *
 * @properties={typeid:35,uuid:"953EA076-5640-4954-8568-16F99CC1FE6B",variableType:8}
 */
var T_importe = null;

/**
 *
 * @properties={typeid:24,uuid:"7E0D3BC2-6223-4B1B-A649-395A6A70DEA1"}
 */
function calcular_totales()
{
	// recorre foundset
	T_importe=0
	for ( var i = 1 ; i <= controller.getMaxRecordIndex(); i++ )
	{
		foundset.setSelectedIndex(i)
		//  usando calculations
		T_importe+=importe_signo_cobranza
	}
}

/**
 * @properties={typeid:24,uuid:"844F1DDF-F7AA-4A77-91E5-CF5A0BBDD016"}
 */
function imprimir() 
{
	forms.diario_cobr_2_imp.controller.showPrintPreview(false)
}

/**
 * @properties={typeid:24,uuid:"0990C75D-D536-4B4A-B9FA-8A828EC097D0"}
 */
function pdf() 
{
	globals.metodoPdf('diario_cobr_2_imp','Diario_cobranza',true)
}